<?php
namespace slinks\core\dependencyInjectionExt\annotation;

use slinks\common\addendum\Annotation;

/**
 * 
 * Can be used to specify a method to be called to create a instance of a service class.
 * Must be used in conjunction of a Service annotation. 
 * Takes the place of the constructor argument on the Service Annotation. If both are used for the same class an Exception will be thrown.
 * 
 * Arguments may be specified if needed. See the Argument annotation for more detail. 
 * If arguments are specified on this annotation they cannot be specified at the Class level or else an Exception will be thrown. 
 * 
 * Addtioanlly this annotation should not be used on a constructor. 
 * 
 * @author Navid Mitchell
 * 
 * @Target("method")
 */
class FactoryMethod extends Annotation {}
